<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/el/topic.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			var page = sys_fill_parm('queryForm');
			query_topic(page);
		}
	});
	$('#queryForm').find("input:checkbox, input:radio").not('input.ibtn').uniform();
});
</script>

<#import "/freemarker/modeltype_entity.ftl" as mte>
<form id="queryForm">
	<table class="search_term_table"> 
		<tr>
			<th style="width:60px;">题干</th>
			<td>
				<input class="form-control" type="text" name="content" />
			</td>
			
			<th style="width:60px;">所属课程</th>
			<td>
				<@mte.Course  nullstr='请选择' name="cc" oc=((cu_organCode)!'')/>
			</td>
			<td style="text-align: right;">
				<button class="btn btn-info"  onclick="javascript: query_topic(); return false;"><i class="icon-search"></i> 查  询</button>
				<button class="btn btn-success"  onclick="javascript: sys_load_handle('topic-edit'); return false;"><i class="icon-file"></i> 添 加</button>
			</td>
		</tr>
		<tr>
			<th style="width:60px;">题目类型</th>
			<td>
				<@mte.Problemtype  nullstr='请选择' name="type"/>
			</td>
			<th style="width:60px;">题目难度</th>
			<td>
				<@mte.TopicDifficulty  nullstr='请选择' name="tdc"/>
			</td>
		</tr>
	</table>
</form>
<div id="resultList"></div>